home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / tsutlb20.zip / TSUTLB.INF < prev    next >
Text File  |  1992-03-21  |  10KB  |  252 lines

  1. Sat 21-March-1992
  2.  
  3. About TSUTLB in General                       (All rights reserved)
  4. =======================
  5.  
  6. This package may be used and distributed freely for NON-COMMERCIAL,
  7. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  8. any way. (Repacking with another method is ok, though.) For ANY
  9. other usage, such as use in a business enterprise or a university,
  10. contact the author for registration. Uploading to bulletin boards is
  11. encouraged. Please do not distribute any part of this package
  12. separately.
  13.  
  14. The programs are under development. Comments and contacts are
  15. solicited. If you have any questions, please do not hesitate to use
  16. electronic mail for communication.
  17. InterNet address: ts@chyde.uwasa.fi         (preferred)
  18. Bitnet address:   SALMI@FINFUN.BITNET
  19. Funet address:    GADO::SALMI
  20.  
  21. The author shall not be liable to the user for any direct, indirect
  22. or consequential loss arising from the use of, or inability to use,
  23. any program or file howsoever caused. No warranty is given that the
  24. programs will work under all circumstances.
  25.  
  26. Timo Salmi
  27. Professor of Accounting and Business Finance
  28. School of Business Studies, University of Vaasa
  29. P.O. BOX 297, SF-65101 Vaasa, Finland
  30.  
  31.  
  32. CONTENTS:
  33.  
  34.   1. Summary
  35.   2. Program Abstracts
  36.  
  37.  
  38. Timo Salmi UTiLities set B, release 2.0 (TSUTLB20) includes the
  39. *    *     ** *          *          * *
  40. following utility-type programs.
  41.  
  42. TSUTLB is a stand-alone sequel to TSUTIL. There is also a third
  43. collection of these utility programs called TSUTLC, a fourth called
  44. TSUTLD and a fifth called ... (you guessed it :-) ... TSUTLE.
  45.  
  46.  
  47. 1. SUMMARY
  48.  
  49. TSUTLB20        More command-like progs, T.Salmi
  50. Filename        Comment
  51. --------        --------------------------------
  52. CHARS.EXE       Character frequencies of a file
  53. DIRE.EXE        Extended directory
  54. SETGRA.EXE      Sets computer into graphics mode
  55. TOUCH.EXE       Change date/time stamp of files
  56. TSPROG.INF      List of PD programs from T.Salmi
  57. TSUTLB.INF      Document
  58. TSUTLB.NWS      News announcements about tsutlb
  59. VAASA.INF       Info: Finland, Vaasa, U of Vaasa
  60. ----            ------             ------  -----
  61. 0008
  62.  
  63. TSUTLB releases until TSUTLB14 were distributed under the name of
  64. TS2UTL.
  65.  
  66.  
  67. 2. PROGRAM ABSTRACTS
  68.  
  69. CHARS (Ver. 1.2)  Character frequencies of a file
  70. ================
  71.                                                                              
  72. Usage : CHARS <source file> [statistics output file]                         
  73.    or   CHARS ?
  74.                                                                              
  75. This program makes a statistics of the occurrence of the different
  76. characters in any type of file. The frequencies of the characters
  77. are given both in the ascending order of character ascii numbers and
  78. in the descending order of the frequencies. This is a Turbo Pascal
  79. 5.0 program using BlockRead for fast file handling, and quicksort
  80. for fast sorting of the frequencies.
  81.  
  82. Release notes:
  83.  Version 1.1 handles also ascii 255 correctly.
  84.  Version 1.2 has some minor stylistic changes.
  85.  
  86.  
  87. DIRE.EXE (Ver. 1.3)  Extended directory
  88. ===================
  89.  
  90. Usage: DIRE [DirectoryMask]
  91.             [/a(llocated size)] [/m(onth as text)] [/p(aging)]
  92.  
  93. DIRectory Extended command displays the directory in a format
  94. similar to MS-DOS dir command. However, DIRE also displays the
  95. hidden files as well as shows the status of the files (d=directory,
  96. h=hidden, r=read-only). (The status of the archive bit is not
  97. shown.)
  98.  
  99. Another difference compared to dir is that the file name and the
  100. extension are separated by a point, not a tab. Thus e.g. you would
  101. get DIRE.EXE rather than DIRE     EXE. This makes a difference e.g.
  102. when you direct the directories to a file, and wish to search for a
  103. specific file name. This has been changed, however, in version 1.1
  104. to correspond to the Ms-Dos format. The Ms-Dos tabs are replaced by
  105. the more universal blanks.
  106.  
  107. DIRE requires a stricter syntax of file names than dir. If you make
  108. a mistake, DIRE shows you examples of the correct syntax. The main
  109. rule is that you should either use no parameter, or enter the
  110. device, path, and file names, all explicitly. Examples of acceptable
  111. commands are:
  112.  
  113.  DIRE
  114.  DIRE *.*
  115.  DIRE A:
  116.  DIRE A:\*.PAS
  117.  DIRE A:\SUBDIR\*.EXE
  118.  DIRE ..
  119.  DIRE SUBDIR           (Shows entries named subdir in the CURRENT directory!)
  120.  DIRE SUBDIR\          (Shows entries in subdirectory subdir)
  121.  DIRE A:SUBDIR\
  122.  DIRE SUBDIR\*.EXE
  123.  DIRE ..\SUBDIR\*.*
  124.  
  125. Unlike dir DIRE can handle the wildcards * and ? also in directory
  126. names. Therefore DIRE SUBDIR and DIRE SUBDIR\ will (contrary to dir)
  127. show you different informations. The former will show if your
  128. default directory has a subdirectory named SUBDIR while the latter
  129. shows the contents of SUBDIR.
  130.  
  131. The optional parameter /p will cause a pause at each full screen.
  132. E.g.
  133.  DIRE *.PAS /p
  134.  DIRE /p
  135. The /p parameter must be preceded at least by one blank.
  136.  
  137. DIRE has been compiled with Borland's Turbo Pascal Version 5.0.
  138.  
  139. See DIRF in package TSUTLC for a directory program with more
  140. features. DIRF practically outdates DIRE.
  141.  
  142. Release notes:
  143.  Version 1.1: The file name extensions have been aligned to start
  144. from the same column. The date-stamp of the files also shows the
  145. weekday.
  146.  Version 1.2: Added the [/a(llocated size)] and [/m(onth as text)]
  147. switches. Added the code s for system files in the listing.
  148.  Version 1.3: Rewrote, or rather took from my other directory
  149. programs the routines to handle the file masks. Thus the searchname
  150. convention for DIRE is much closer to MsDos DIR, as it should.
  151.  
  152.  
  153. SETGRA.EXE (Ver. 1.2)  Sets computer into graphics mode
  154. =====================
  155.  
  156. Usage: SETGRA <graphics driver selection>
  157.    or: SETGRA ?
  158.  
  159. Options:
  160. Def CGA MCGA EGA EGA64 EGAMono IBM8514 HercMono ATT400 VGA PC3270             
  161.                                                                               
  162. This program sets your computer in a graphics mode. It can also be
  163. used to to restore the textmode by giving the program call without
  164. any parameters.
  165.                                                                               
  166. There are two common reasons for wanting to be able to invoke the
  167. graphics mode: 1) There are some programs which require that they
  168. are called in the graphics mode. 2) You may want to experiment with
  169. your graphics capabilities.
  170.                                                                               
  171. You can let SETGRA identify your graphics drivers by using Def as
  172. the parameter in the program call. Or you can experiment which
  173. graphics drivers your machine can handle by selecting the driver
  174. from the list. Notice, however, that selecting a graphics driver
  175. which your machine cannot handle may cause a system crash and you
  176. then have to reset your machine.
  177.  
  178. IBM8514.BGI belongs to Borland International and is attached to
  179. SETGRA.EXE in accordance with Borland's No-Nonsense License
  180. Statement. IBM8514.BGI is needed (in the program directory) if you
  181. want to invoke the IBM-8514 graphics.
  182.  
  183.   Release notes: Version 1.1: The IBM8514.BGI is no longer needed
  184. separately, and has thus been omitted. I have now linked (also) this
  185. driver into the program code. Since I have not had an access to PC
  186. with IBM8514 graphics mode, I cannot be absolutely certain that this
  187. option really works. (The others do, and I do not see why this
  188. wouldn't, so it probably won't.)
  189.   Version 1.2: Still wondering about the IBM8514 graphics.
  190.  
  191.  
  192. TOUCH (Ver. 1.6)  Change date/time stamp of files
  193. ================
  194.                                                                              
  195. Usage: TOUCH filename [(new date dd-mm[-[yy]yy]) (new time hh:mm[:ss])]
  196.                       [/n(o confirm)] [/fFileName2 (stamp from)]
  197.    or: TOUCH ?                                                               
  198.                                                                              
  199. TOUCH changes the datestamp and timestamp of a files. Wildcards and
  200. paths are allowed. If you omit the date and the time, the current
  201. date and time are used. You can also apply '